package cn.bocweb.spinning.model.Bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by chenchangxing on 16/1/26.
 */
public class MyClassBean {


    /**
     * msg : 获取成功
     * return_code : 0
     * progress : {"total":32263,"right":27,"wrong":19,"blank":32217}
     * record : [{"testid":"A127609412291177","subtitle":"一塌糊涂","score":"0","spend_time":"2397","end_time":"1453860946"},{"testid":"A127609200513270","subtitle":"一塌糊涂","score":"0","spend_time":"2397","end_time":"1453860924"}]
     */

    private String msg;
    private int return_code;
    /**
     * total : 32263
     * right : 27
     * wrong : 19
     * blank : 32217
     */

    private ProgressEntity progress;
    /**
     * testid : A127609412291177
     * subtitle : 一塌糊涂
     * score : 0
     * spend_time : 2397
     * end_time : 1453860946
     */

    private List<RecordEntity> record;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public void setProgress(ProgressEntity progress) {
        this.progress = progress;
    }

    public void setRecord(List<RecordEntity> record) {
        this.record = record;
    }

    public String getMsg() {
        return msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public ProgressEntity getProgress() {
        return progress;
    }

    public List<RecordEntity> getRecord() {
        return record;
    }

    public static class ProgressEntity implements Serializable {
        private int total;
        private int right;
        private int wrong;
        private int blank;

        public void setTotal(int total) {
            this.total = total;
        }

        public void setRight(int right) {
            this.right = right;
        }

        public void setWrong(int wrong) {
            this.wrong = wrong;
        }

        public void setBlank(int blank) {
            this.blank = blank;
        }

        public int getTotal() {
            return total;
        }

        public int getRight() {
            return right;
        }

        public int getWrong() {
            return wrong;
        }

        public int getBlank() {
            return blank;
        }
    }

    public static class RecordEntity {
        private String testid;
        private String subtitle;
        private String score;
        private String spend_time;
        private String end_time;

        public void setTestid(String testid) {
            this.testid = testid;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public void setSpend_time(String spend_time) {
            this.spend_time = spend_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getTestid() {
            return testid;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public String getScore() {
            return score;
        }

        public String getSpend_time() {
            return spend_time;
        }

        public String getEnd_time() {
            return end_time;
        }
    }
}
